#ifndef HELPSCENE_H
#define HELPSCENE_H

#include "gamescene.h"
#include <QWidget>
#include <QApplication>
#include <QFile>
#include <QTextStream>

#include "gamebackground.h"
#include "helpbutton.h"
#include "helpdisplay.h"

#define RESOURCE_DIR QApplication::applicationDirPath() + "./resources"

class HelpScene : public GameScene
{
    Q_OBJECT

public:
    HelpScene(QWidget *parent);

    enum Tabs {About, Goals, GamePlay, Tools};

    void setTab(Tabs tab);

public slots:
    void buttonClicked(HelpButton * sender);
    void start();

private:
    GameBackground * background;
    HelpButton * returnButton;
    HelpButton * aboutButton;
    HelpButton * goalsButton;
    HelpButton * gameplayButton;
    HelpButton * toolsButton;

    HelpButton * activeButton;

    HelpDisplay * helpDisplay;
    QString aboutString;
    QString goalsString;
    QString gameplayString;
    QString toolsString;
};

#endif // HELPSCENE_H
